package com.briup.appointment.controller;

import com.briup.appointment.common.ApiResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping("/admin/stats")
public class AdminStatsController {

    @GetMapping("/summary")
    public ApiResponse<Map<String, Object>> summary(@RequestParam String from, @RequestParam String to) {
        Map<String, Object> data = new HashMap<>();
        data.put("totalAppt", 0);
        data.put("totalVisit", 0);
        data.put("avgWaitMin", 0);
        return ApiResponse.ok(data);
    }
}


